package com.guigu.userservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.userservice.entity.Role;
import com.guigu.userservice.mapper.RoleMapper;
import com.guigu.userservice.service.RoleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色表（用于RBAC权限控制） 服务实现类
 * </p>
 *
 * @author janecraft
 * @since 2025-09-27
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {


    @Override
    public List<Role> selectRoleList() {
        List<Role> roleList = this.list();
        return roleList;
    }
}
